package com.dmlll.service.impl;

import com.dmlll.dao.UserDao;
import com.dmlll.dao.impl.UserDaoImpl;
import com.dmlll.demo.User;
import com.dmlll.service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public List<User> findByUserName(String username) {
        return userDao.findByUserName(username);
    }
}
